package hflyeer.o2o.model.dao;

import java.util.List;

import hflyeer.o2o.model.entity.ShopCategory;

public interface ShopCategoryDao {
	/**
	 * 查询所有店铺类别
	 * 
	 * @return
	 */
	List<ShopCategory> queryForList();

	/**
	 * 批量添加店铺类别
	 * 
	 * @param shopCategoryList
	 * @return
	 */
	int batchInsert(List<ShopCategory> shopCategoryList);

	/**
	 * 根据id删除店铺类别
	 * 
	 * @param id
	 * @return
	 */
	int delete(Integer id);
}
